package com.how.warlock.art;

import java.io.IOException;

import com.how.warlock.engine.Font;
import com.how.warlock.engine.Sprite;
import com.how.warlock.engine.Texture;
import com.how.warlock.engine.TextureLoader;
import com.how.warlock.tilemap.TileMap;

public class Art {
	private static final String player_res="res/player.png";
	private static final String tiles_res="res/tiles.png";
	private static final String font_res="res/font.png";
	
	
	public static Texture[] player;
	public static Texture[] tiles;
	public static Texture[] font;
	
	public static void load(TextureLoader loader){
		try {
			player = loader.getTexture(player_res, 32, 64); 
			tiles = loader.getTexture(tiles_res,TileMap.tileSize);
			font = loader.getTexture(font_res, Font.SIZE);
		} catch(IOException ioe){
			ioe.printStackTrace();
			System.exit(-1);
		}
	}
}
